readme for Hauenstein, ND, "Rebel Substitutes and Peace Agreement Amnesties"

All analyses were conducted in R 4.0.2 for Windows.  Package information is
available in the log. 

The enclosed replication files recreate all the results in the paper and 
appendix. The results are created in the order they appear in the main paper,
with the caveat that appendix analyses using the same data are called 
after the main results.  For example, Appendix Table 7 shows the regression
table for Figure 4 in the main paper so the R script "Provision Analysis.R" 
creates Table 7 after Figure 4.

There are 18 files in the replication folder:

"Main Replication File.R" is the control file for all the R scripts. 
It calls, in order:

	"Figure 1.R"
	"Figures 2 and 3.R" 
	"Provision Analysis.R"
	"Provision Matching Analysis.R"
	"Implementation Analysis.R"
	"Provision Descriptives.R"
	"Implementation Descriptives.R"
	"Placebo Test.R"

Each call is annotated with a list of Figures/Tables produced by the file.
These .pdf / .tex files will be created at the directory set in the
preamble of "Main Replication File.R"

The entire control file takes approximately 1 hour 20 minutes to finish on my 
Ryzen 7 4700U / 16GB RAM laptop. 

The remaining files are:

	"Bootstrap.R" - defines a function, cluster_bootstrap(), to cluster
			bootstrap the implementation models and calculate
			marginal effects of amnesty implementation.
	"InteractionPlot.R" - defines a function, int_plot(), that plots
			      the output of cluster_bootstrap() via ggplot.
	"Figure1.Rdata" - data for Figure 1.
	"Amnesty Provision Main Data.Rdata" - Data for all models where 
	amnesty provision is the dependent variable.
	"Implementation Main Data.Rdata" - Data for all models where 
	amnesty implementation is the independent variable.
	"Code-for-Log-Part-I.html" - HTML log file.
	"Code-for-Log-Part-II.html" - HTML log file.
	"Codebook" - Variable names and definitions.
	"readme.txt" - this file.


